package com.yjyw.tiexie.bean;

import java.util.List;

/**
 * Created on 2019/9/20.
 *
 * @author ${AUTHOR}
 * TODO:
 */
public class ReportResultBean {

    /**
     * code : 100
     * msg : 请求成功
     * data : {"complain_list":[{"complaint":{"report_id":"20190919144323538222","is_finish":1,"is_read":1},"detail":[{"id":4,"report_id":"20190919144323538222","req_type":1,"userid":"156568189233433","username":"武术","reply_desc":"132","img1":"https://songshufenqi.oss-cn-hangzhou.aliyuncs.com/sys/5cce173f50c1e02961f513c4e9205daa1568874944746971.jpeg","img2":"https://songshufenqi.oss-cn-hangzhou.aliyuncs.com/sys/5cce173f50c1e02961f513c4e9205daa1568874950095161.png","img3":null,"ctr_time":1568875403}]}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<ComplainListBean> complain_list;

        public List<ComplainListBean> getComplain_list() {
            return complain_list;
        }

        public void setComplain_list(List<ComplainListBean> complain_list) {
            this.complain_list = complain_list;
        }

        public static class ComplainListBean {
            /**
             * complaint : {"report_id":"20190919144323538222","is_finish":1,"is_read":1}
             * detail : [{"id":4,"report_id":"20190919144323538222","req_type":1,"userid":"156568189233433","username":"武术","reply_desc":"132","img1":"https://songshufenqi.oss-cn-hangzhou.aliyuncs.com/sys/5cce173f50c1e02961f513c4e9205daa1568874944746971.jpeg","img2":"https://songshufenqi.oss-cn-hangzhou.aliyuncs.com/sys/5cce173f50c1e02961f513c4e9205daa1568874950095161.png","img3":null,"ctr_time":1568875403}]
             */

            private ComplaintBean complaint;
            private List<DetailBean> detail;
            private boolean if_reply;

            public boolean isIf_reply() {
                return if_reply;
            }

            public void setIf_reply(boolean if_reply) {
                this.if_reply = if_reply;
            }

            public ComplaintBean getComplaint() {
                return complaint;
            }

            public void setComplaint(ComplaintBean complaint) {
                this.complaint = complaint;
            }

            public List<DetailBean> getDetail() {
                return detail;
            }

            public void setDetail(List<DetailBean> detail) {
                this.detail = detail;
            }

            public static class ComplaintBean {
                /**
                 * report_id : 20190919144323538222
                 * is_finish : 1
                 * is_read : 1
                 */

                private String report_id;
                private int is_finish;
                private int is_read;

                public String getReport_id() {
                    return report_id;
                }

                public void setReport_id(String report_id) {
                    this.report_id = report_id;
                }

                public int getIs_finish() {
                    return is_finish;
                }

                public void setIs_finish(int is_finish) {
                    this.is_finish = is_finish;
                }

                public int getIs_read() {
                    return is_read;
                }

                public void setIs_read(int is_read) {
                    this.is_read = is_read;
                }
            }

            public static class DetailBean {
                /**
                 * id : 4
                 * report_id : 20190919144323538222
                 * req_type : 1
                 * userid : 156568189233433
                 * username : 武术
                 * reply_desc : 132
                 * img1 : https://songshufenqi.oss-cn-hangzhou.aliyuncs.com/sys/5cce173f50c1e02961f513c4e9205daa1568874944746971.jpeg
                 * img2 : https://songshufenqi.oss-cn-hangzhou.aliyuncs.com/sys/5cce173f50c1e02961f513c4e9205daa1568874950095161.png
                 * img3 : null
                 * ctr_time : 1568875403
                 */

                private int id;
                private String report_id;
                private int req_type;
                private String userid;
                private String username;
                private String reply_desc;
                private String img1;
                private String img2;
                private String img3;
                private int ctr_time;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getReport_id() {
                    return report_id;
                }

                public void setReport_id(String report_id) {
                    this.report_id = report_id;
                }

                public int getReq_type() {
                    return req_type;
                }

                public void setReq_type(int req_type) {
                    this.req_type = req_type;
                }

                public String getUserid() {
                    return userid;
                }

                public void setUserid(String userid) {
                    this.userid = userid;
                }

                public String getUsername() {
                    return username;
                }

                public void setUsername(String username) {
                    this.username = username;
                }

                public String getReply_desc() {
                    return reply_desc;
                }

                public void setReply_desc(String reply_desc) {
                    this.reply_desc = reply_desc;
                }

                public String getImg1() {
                    return img1;
                }

                public void setImg1(String img1) {
                    this.img1 = img1;
                }

                public String getImg2() {
                    return img2;
                }

                public void setImg2(String img2) {
                    this.img2 = img2;
                }

                public String getImg3() {
                    return img3;
                }

                public void setImg3(String img3) {
                    this.img3 = img3;
                }

                public int getCtr_time() {
                    return ctr_time;
                }

                public void setCtr_time(int ctr_time) {
                    this.ctr_time = ctr_time;
                }
            }
        }
    }
}
